<ion-header >
  <div class="i_header">
   <p class="header_title"> <ion-title>主页</ion-title></p>
    <a class="item item-thumbnail-left" href="#">
        <img src="assets/img/homeImg/personInfo.png">
      <p>您好!</p>
        <p><span class="header_icon"><ion-icon ios="ios-person" md="md-person"></ion-icon></span>{{pInfo.name}}</p>
        <p><span class="header_icon"><ion-icon ios="ios-notifications" md="md-notifications"></ion-icon></span>{{pInfo.mobile}}
        </p>
    </a>
  </div>
</ion-header>

<ion-content padding>
    <!--  //下拉刷新-->
    <ion-refresher (ionRefresh)="doRefresh($event)">
        <ion-refresher-content
                pullingIcon="arrow-dropdown"
                pullingText="刷新中.."
                refreshingSpinner="circles"
                refreshingText="刷新中..">
        </ion-refresher-content>
    </ion-refresher>


    <div class="scroll-cont">
  	<p class="scroll_cont_header">当前库存</p>

  </div>

<div class="list" *ngFor="let item of items">
    <a class="item item-thumbnail-left" href="#">
        <img src="http://tst-ftp.mindmedia.cn/upload{{item.productImg}}">
      <p>{{item.productName}}</p>
      <p>库存: <span>{{item.stock}}</span>箱</p>
			<p>公司: <span id="bizCompanyName">{{item.bizCompanyName}}</span></p>	
    </a>

</div>

    <div *ngIf="produNull" class="produnull">
        <img src="assets/imgs/zanwu.png" alt="">
        <p>当前无库存</p>
    </div>

    <!--下拉加载-->
    <ion-infinite-scroll (ionInfinite)="doInfinite($event)">
        <ion-infinite-scroll-content
                loadingSpinner="bubbles"
                loadingText="加载中...">
        </ion-infinite-scroll-content>
    </ion-infinite-scroll>

</ion-content>
